package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 获取nacos中配置文件配置的 微信小程序 appid 、 secret
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxConfigProperties {

    private String appid;

    private String secret;
}
